﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Office.Xoox.Spreadsheet
{
    public class XDrawing : XElementBase, ISequence
    {
        private XRelationshipAttributeBase _rel;

        public XDrawing(XWorksheet worksheet)
            : base("drawing")
        {
            _rel = new XRelationshipAttributeBase(this, "id");
            worksheet.DocumentPart.AddNewPart<DocumentFormat.OpenXml.Packaging.DrawingsPart>("rId1");
            _rel.Value = "rId1";
        }

        #region ISequence Members

        public int Index
        {
            get { return 30; }
        }

        #endregion
    }
}
